package com.probiz.estore.theme.aop;

import org.springframework.web.servlet.i18n.AcceptHeaderLocaleResolver;

import javax.servlet.http.HttpServletRequest;
import java.util.Locale;

import com.probiz.estore.core.util.I18nUtil;

/**
 * Created by IntelliJ IDEA.
 * User: yiu
 * Date: 2009-11-24
 * Time: 10:57:30
 * To change this template use File | Settings | File Templates.
 */
public class ProbizAcceptHeaderLocaleResolver  extends AcceptHeaderLocaleResolver {
     //private Locale myLocal;
 public Locale resolveLocale(HttpServletRequest request) {
     return I18nUtil.getLocaleByCode("zh_CN");
 // return myLocal;
 }
} 
